mx28evk: Propagate the error if cpu_eth_init() fails
authorFabio Estevam <[email protected]>
Fri, 20 Sep 2013 19:30:49 +0000 (16:30 -0300)
committerStefano Babic <[email protected]>
Fri, 27 Sep 2013 11:53:35 +0000 (13:53 +0200)
commit17cc2362afe504eda574948d3d653a19a29ceb76
treeee8de93a4b18c163485d9ecc2e5d5b233bcd94e4
parent2cba60ac84deda66fc139e7db00b05cc26f309ea
mx28evk: Propagate the error if cpu_eth_init() fails

If cpu_eth_init() fails we should return the error immediately.

Cc: Marek Vasut <[email protected]>
Signed-off-by: Fabio Estevam <[email protected]>
Acked-by: Marek Vasut <[email protected]>
board/denx/m28evk/m28evk.c